/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    src: url('NanumPenScript-Regular.ttf');
    font-family: Nanum;
}

/* Root Variables */
:root {
    --primary-bg: #2A9D8F;
    --secondary-bg: #264653;
    --highlight-color: #F4A261;
    --text-color: #E9C46A;
    --card-bg: rgba(20, 20, 20, 0.8);
    --header-bg-gradient: linear-gradient(to right, #264653, #F4A261);
}

/* Body Styling */
body {
    padding-bottom: 70px;
    background-image: url('../Images/Phantom Bullet.jpg'); /* Replace with appropriate image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-color);
    font-family: Nanum, Arial, sans-serif;
}

/* Header Styling */
.header {
    background: var(--header-bg-gradient);
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.header h1 {
    color: var(--highlight-color);
    font-size: 3rem;
}

.header p {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-color);
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: center;
    background-color: var(--secondary-bg);
    padding: 15px;
}

.navbar a {
    color: var(--text-color);
    margin: 0 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar a:hover {
    color: var(--highlight-color);
    transform: scale(1.1);
    text-decoration: underline;
}

/* Sections Styling */
section {
    margin: 20px auto;
    width: 90%;
    max-width: 900px;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

section h2 {
    color: var(--highlight-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

section p {
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Add a background to paragraphs in Overview */
.overview p {
    background-color: rgba(24, 23, 23, 0.7);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Story Breakdown Styling */
.story-breakdown p {
    background-color: rgba(24, 23, 23, 0.7);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.story-breakdown blockquote {
    font-style: italic;
    color: var(--highlight-color);
    border-left: 5px solid var(--highlight-color);
    padding-left: 20px;
    margin: 20px 0;
}

/* Major Characters Section */
.characters {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin: 20px auto;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.characters h2 {
    color: var(--highlight-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.character {
    margin-bottom: 30px;
}

.character h3 {
    font-size: 1.8rem;
    color: var(--secondary-bg);
    margin-bottom: 10px;
}

.character p {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.6;
}

.character p strong {
    font-weight: bold;
    color: var(--highlight-color);
}

.character p:last-child {
    margin-bottom: 0;
}

/* Arc Images */
.arc-images {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.arc-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .arc-images {
        flex-direction: column;
        gap: 15px;
    }

    .arc-image {
        width: 100%;
    }

    .navbar a {
        font-size: 1.1rem;
    }
}
